/*
 * Changed 2013-01-26 by Tony Rein
 * to return a MessageWithID object
 * from receiveMessage() and to return a long
 * message id from sendMessage()
 */


package uc.edu.server;

import javax.jws.WebParam;

/**
 *
 * @author Brandan
 */
public interface IChatService {

    /**
     * Web service operation
     */
    String sendMessage(@WebParam(name = "parameter")
    Message parameter) throws Exception;

    /**
     * Web service operation
     */
    MessageWithID receiveMessage(long lastID) throws Exception;

}
